<?php
            include('confdb.php');

            $con = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
            
            $kort = $_POST['kort'] ?? '';
            $kolsud = $_POST['kolsud'] ?? '';

            $query = "DELETE FROM connect WHERE kol_sud='$kolsud' and nomer_kort='$kort'";
            $result = mysqli_query($con, $query) or die("Ошибка " . mysqli_error($con)); 
            $result = mysqli_query($con, $query) or die("Ошибка " . mysqli_error($con)); 

?>